/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package post;

/**
 *
 * @author Harry
 */
public class TransactionReader {

    //transaction.txt file structure:
    //CustomerName
    //ItemDescription Quantity(blank if quantity is one)
    //Payment Amount
    //BLANKLINE
    
    //Example:
    //Ayush
    //Bread 5
    //Meat
    //Cash 10
    //
    //Hamid
    //Bread
    //Meat 2
    //Cash 6
    
    //Hint: Don't care about columns. Read word by word.
    
    TransactionReader(Store store, String transactionFile) {
        
    }
    
    public boolean hasMoreTransaction()
    {
        
        return false;
    }
    
    public Transaction getNextTransaction()
    {
        
        return new Transaction();
    }
    
    public Transaction[] loadAll()
    {
        
        return new Transaction[1];
    }
    
    public void addTransaction(Transaction transaction)
    {
        
    }
}
